<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>生成报表</title>
    <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css">
    <script src="https://cdn.staticfile.org/jquery/2.1.1/jquery.min.js"></script>
    <script src="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/js/bootstrap.min.js"></script>
</head>
<body>
<br><br><br><br>
<table border="1" align="center">
    <tr>
        <th>名称</th>
        <th>数量</th>
        <th>价格</th>
    </tr>

    <tr th:each="item : ${tre}">
        <td align="center"th:text="${item.mid}"></td>
        <td align="center"th:text="${item.allnum}"></td>
        <td align="center"th:text="${item.lastpay}"></td>
    </tr>

    <tr>
        <th>总价</th>
        <td align="center"th:text="${try}" width="400"colspan="2"></th>
        <td></td>
    </tr>
</table>
<br><br>
<div align="center">
    <button>打印</button>
    <a href="/lxx">
    <button>返回</button>
    </a></div>


<script language="javascript">

</script>
</body>

</html>